projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0120fdf
)
(x_load_font): Use string_byte.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 9 Jan 1998 23:22:56 +0000
(23:22 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 9 Jan 1998 23:22:56 +0000
(23:22 +0000)
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 06a40fcdf7e65e9da3b509547c5340bc3c28f088..e910de5b281f9460d6ff44e4ba69a6476aec965f 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-6930,8
+6930,8
@@
x_term_init (display_name, xrm_option, resource_name)
#endif /* ! 0 */
dpyinfo->x_id_name
- = (char *) xmalloc (XSTRING (Vinvocation_name)->size
- + XSTRING (Vsystem_name)->size
+ = (char *) xmalloc (XSTRING (Vinvocation_name)->size
_byte
+ + XSTRING (Vsystem_name)->size
_byte
+ 2);
sprintf (dpyinfo->x_id_name, "%s@%s",
XSTRING (Vinvocation_name)->data, XSTRING (Vsystem_name)->data);